/*
 * @Author: Sam
 * @Date: 2020-10-12 15:24:53
 * @LastEditTime: 2021-11-16 18:07:56
 * @LastEditors: Sam
 * @Description:
 * @FilePath: \resourcesf:\thework\ygboost-eui\src\main.js
 * @可以输入预定的版权声明、个性签名、空行等
 */
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui'
import ExTableColumn from 'ex-table-column';
import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/fontawesome/v5/css/all.min.css'
import 'handsontable/dist/handsontable.full.css'
import '@/styles/index.scss' // global css
import App from './App'
import router from './router'
import store from './store'
import Print from '@/utils/print'
Vue.use(Print)
// 全局方法引入按钮权限(通过v-if)
import { buttonPermission } from "./utils/rolesButtom";
Vue.prototype.btnPerm = buttonPermission;

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.component(ExTableColumn.name, ExTableColumn);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})
